//
//  CTSegmentView.h
//  ConstellationTalk_0.1
//
//  Created by riley on 15/5/27.
//  Copyright (c) 2015年 riley chu. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum{

    CTSegmentViewTypePublistTable = 1,
    CTSegmentViewTypePublistCollection,
    CTSegmentViewTypeFavorite,
    CTSegmentViewTypeSubject
    
}CTSegmentViewType;


@interface CTSegmentView : UIView

- (instancetype)initWithFrame:(CGRect)frame
                      withVip:(BOOL)isVip
                     withSelf:(BOOL)isSelf;


- (void)setPressedHandler:(void (^)(CTSegmentViewType type,UIButton * btn))typeHandeler;

@end
